﻿using System;
using CommonLib;

namespace CommonDAL
{
    public interface IDataMapper<TIdentity, TUniqueKey, TBusinessEntity, TDataEntity> :
        IDataEntityFinder<TIdentity, TUniqueKey, TBusinessEntity, TDataEntity>,
        IFromDataObjectMapper<TIdentity, TUniqueKey, TBusinessEntity, TDataEntity>
        where TIdentity : struct
        where TUniqueKey : struct
        where TBusinessEntity : class, IBusinessEntity<TUniqueKey>
        where TDataEntity : class, IDataEntity<TIdentity, TUniqueKey, TBusinessEntity>, TBusinessEntity
    {
    }
}
